package com.alex.designPattern.decorator;

import com.alex.designPattern.AbstractDao;

public class JsonDec extends DaoDecorator {

	public JsonDec(AbstractDao dao) {
		super(dao);
	}

	@Override
	public Object getById() {
		getJsonStr();
		return super.getById();
	}
	
	private void getJsonStr(){
		System.out.println("json...");
	}
	
}
